﻿using System;
using nRoute.Samples.FutureDesktop.Controls;

namespace nRoute.Samples.FutureDesktop.ViewModels
{
    public class ActiveWorkspaceChangedEventArgs 
        : EventArgs
    {
        private readonly IWorkspace _deactivatedWorkspace;
        private readonly IWorkspace _activatedWorkspace;

        public ActiveWorkspaceChangedEventArgs(IWorkspace deactivatedWorkspace, IWorkspace activatedWorkspace)
        {
            _deactivatedWorkspace = deactivatedWorkspace;
            _activatedWorkspace = activatedWorkspace;
        }

        public IWorkspace DeactivatedWorkspace
        {
            get { return _deactivatedWorkspace; }
        }

        public IWorkspace ActivatedWorkspace
        {
            get { return _activatedWorkspace; }
        }
    }
}
